<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/custom.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Member/signingInquiries.css" />
    <style>
        table.dataTable thead .sorting{
            background: none;
        }
        table.dataTable thead .sorting_asc{
            background: none;
        }
        .withdetal{width: 100px;display: inline-block;}
        span.namewith {display: inline-block;width: 164px;text-align: start;}
        table.dataTable td {
            height: 100px;
        }
    </style>
    <title>服务商订单管理</title>
</head>
<body data-id="645">
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页  <span class="c-gray en">&gt;</span>服务商管理<span class="c-gray en">&gt;</span>服务商订单管理<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<article class="page-container">
    <form class="ml-20 mr-20" id="form-search"  method="post">
        <div class="bg-1 bk-gray pb-10">
            <div class="lh-30 mb-10 ml-20">
                <table class="table_li mb-10 table ml-20">
                    <thead class="text-l">
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">渠道名称：</label>
                                <select id="ascription_lsit" class="select radius f-l ml-10" name="brandclass"
                                        size="1" style="width:44%; height: 28px;">
                                    <script id="ascription_bob" type="text/x-dot-template">
                                        <option value="" selected>全部</option>
                                        {{if( it && it.length>0 ){ }}
                                        {{ for(var i=0; i< it.length; i++) { }}
                                        <option value="{{=it[i].customerCode}}">{{=it[i].customerName}}</option>
                                        {{ } }}
                                        {{ }else{ }}
                                        <option>没有数据</option>
                                        {{ } }}
                                    </script>
                                </select>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">服务商名称：</label>
                                <div class="formControls f-l">
                                    <input type="text" style="width: 201px;" class="input-text radius ml-10 w-150" id="providerName"   placeholder="请输入服务商名称"  autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>


                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">对方订单号：</label>
                                <div class="formControls f-l">
                                    <input type="text" style="width: 201px;" class="input-text radius ml-10 w-150" id="channelOrderId"   placeholder="请输入对方订单号"  autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">我方订单号：</label>
                                <div class="formControls f-l">
                                    <input type="text" style="width: 201px;" class="input-text radius ml-10 w-150" id="orderId" onkeyup="this.value=this.value.replace(/[^A-Z0-9]/g,'');"
                                           errormsg="格式错误，请重新输入" ignore="ignore"  placeholder="请输入我方订单号"  autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row" style="margin-left: -5px;">
                                <label class="form-label f-l text-r w-80 lh-26">商品：</label>
                                <div class="formControls f-l">
                                    <input type="text" style="width: 201px;" class="input-text radius ml-10 w-150" id="productCode" ignore="ignore" onkeyup="this.value=this.value.replace(/\s+/g,'')"  placeholder="请输入Code码"  autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26" >交易状态：</label>
                                <select class="select radius f-l ml-10 w-200" size="1" style="height: 30px;" id="orderStatus">
                                    <option value="">全部</option>
                                    <option value="20">待审核</option>
                                    <option value="30">待配货</option>
                                    <option value="40">待出库</option>
                                    <option value="60">待收货</option>
                                    <option value="70">已收货待结算</option>
                                    <option value="80">已完成</option>
                                    <option value="90">交易完成</option>
                                    <option value="100">已取消</option>
                                    <option value="110">交易关闭</option>
                                </select>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10" style="margin-left: -20px;">
                                <label class="form-label f-l pt-5 text-r w-85">下单时间：</label>
                                <div class="f-l ml-10">
                                    <input onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'createdOrderEnd\')||\'%y-%M-%d\'}',startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                           class="input-text Wdate radius" id="createdOrderBegin" type="text"
                                           placeholder="起始时间" style="width:116px;" autocomplete="off">
                                    ~
                                    <input onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'createdOrderBegin\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                           class="input-text Wdate radius" id="createdOrderEnd" type="text"
                                           placeholder="结束时间" style="width:116px;" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="    margin-left: -19px;"
                                       class="form-label f-l pt-5 text-r w-85">推送时间：</label>
                                <div class="f-l ml-10">
                                    <input onfocus="WdatePicker({ maxDate:'#F{$dp.$D(\'pushOrderEnd\')||\'%y-%M-%d\'}',startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                           class="input-text Wdate radius" id="pushOrderBegin" type="text"
                                           placeholder="起始时间" style="width:116px;" autocomplete="off">
                                    ~
                                    <input onfocus="WdatePicker({ minDate:'#F{$dp.$D(\'pushOrderBegin\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})"
                                           class="input-text Wdate radius" id="pushOrderEnd" type="text"
                                           placeholder="结束时间" style="width:116px;" autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>

                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">收货人姓名：</label>
                                <div class="formControls f-l">
                                    <input type="text" style="width: 201px;" class="input-text radius ml-10 w-150" id="receiverName" datatype="/^[^a-zA-Z1-9]{0,20}$/"
                                           errormsg="输入格式错误" ignore="ignore"
                                           onkeyup="this.value=this.value.replace(/\s+/g,'')"  placeholder="请输入收货人姓名"  autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26">收货人手机：</label>
                                <div class="formControls f-l">
                                    <input type="text" style="width: 201px;" class="input-text radius ml-10 w-150" id="receiverPhone" datatype="n0-11" errormsg="输入格式不正确"
                                           ignore="ignore" onKeyUp="value=value.replace(/\s+/g,'')"  placeholder="请输入收货人手机"  autocomplete="off">
                                </div>
                                <span class="Validform_checktip"></span>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10">
                                <label style="margin-left: -18px;"
                                       class="form-label f-l pt-5 text-r w-85">收货地：</label>
                                <span class="select-box size-M radius col-xs-8 ml-10" style="width:120px">
                                        <select class="select" onchange="discountdata(1)" name="brandclass" id="getArea"
                                                size="1">
                                            <option value="" selected>请选择收货区域</option>
                                        </select>
                                    </span>
                                <span class="select-box size-M radius col-xs-8 ml-10" style="width:120px">
                                        <select class="select" name="brandclass" id="getPlace" size="1">
                                            <option value="" selected>请选择收货位置</option>
                                        </select>
                                    </span>
                            </div>
                            <span class="Validform_checktip"></span>
                        </td>
                    </tr>
                    <tr>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26" style="margin-left: 1px;">配送类型：</label>
                                <select class="select radius f-l ml-10 w-200" size="1" style="height: 30px;" id="sent_type">
                                    <option value="">全部</option>
                                    <option value="10">快递</option>
                                    <option value="40">自有车辆</option>
                                </select>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row ml-10" style="margin-left: -20px;">
                                <label class="form-label f-l pt-5 text-r w-85">订单金额：</label>
                                <div class="f-l ml-10">
                                    <input placeholder="请输入订单金额" id="paid_amount_min" onchange="functionMax()"
                                           type="text" class="input-text radius  f-l"
                                           onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"
                                           style="width:116px;" maxlength="10" autocomplete="off">
                                    <input placeholder="请输入订单金额" id="paid_amount_max" onchange="functionMax()"
                                           type="text" class="input-text radius  f-l"
                                           onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"
                                           style="width:116px;margin-left: 14px;" maxlength="10" autocomplete="off">
                                </div>
                            </div>
                        </td>
                        <td class="col-3-1">
                            <div class="row">
                                <label class="form-label f-l text-r w-80 lh-26" style="margin-left: 13px;">凭证状态：</label>
                                <select class="select radius f-l ml-10 w-200" size="1" style="height: 30px;" id="uploadProofStatus">
                                    <option value="">全部</option>
                                    <option value="10">未上传</option>
                                    <option value="20">已上传</option>
                                    <option value="30">已审核</option>
                                    <option value="40">已驳回</option>
                                </select>
                            </div>
                        </td>
                    </tr>


                    </thead>
                </table>
            </div>
            <div class="text-c pb-20 pt-10">
                <a class="btn btn-secondary radius size-S powerButton 653" id="exportOrder" onclick="exportOrder()" >导出订单</a>
                <input   type="button" class="btn btn-secondary radius size-S ml-10 powerButton 652" onclick="searchList()" value="查&nbsp;&nbsp;询">
                <input name="" type="reset" class="btn radius size-S ml-10 powerButton 652" value="重&nbsp;&nbsp;置">
            </div>
            <table class="table table-border table-bg table-hover table-sort mt-10" id="datatable">
                <thead>
                <tr class="text-c">
                    <th style="background-color: #f4f4f4;">订单号</th>
                    <th>渠道名称</th>
                    <th>服务商名称</th>
                    <th>下单时间</th>
                    <th>订单分配时间</th>
                    <th>订单金额</th>
                    <th>采购金额</th>
                    <th>交易状态</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody class="shun">

                </tbody>
            </table>
            <div class="mt-40"></div>
            <div class="dataTables_wrapper goods_fanye clearfix mt-5">
                <div class="f-r pageturning M-box3"></div>
            </div>
        </div>
    </form>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
<!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<script src="../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../ht-js/Project.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<!--引入分页-->
<link rel="stylesheet" href="../../../lib/pagination/pagination.css">
<script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
<script src="../../../ht-js/serviceProvider/order/order.js?rev=@@hash"></script>
<!--权限控制-->
<script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>
<script>
    $('#reset').click(function(){
        $('input').val('');
        $('select').val('');
    })

</script>

<script>
    jQuery.Huitab = function(tabBar, tabCon, class_name, tabEvent, i) {
        var $tab_menu = $(tabBar);
        // 初始化操作
        $tab_menu.removeClass(class_name);
        $(tabBar).eq(i).addClass(class_name);
        $(tabCon).hide();
        $(tabCon).eq(i).show();
        $tab_menu.bind(tabEvent, function() {
            $tab_menu.removeClass(class_name);
            $(this).addClass(class_name);
            var index = $tab_menu.index(this);
            $(tabCon).hide();
            $(tabCon).eq(index).show();
        });
    }

    $(function() {
        $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
    });
</script>
</body>
</html>